package cn.edu.lzu.platformweb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TransferController {

    /*跳转到‘运营平台’登录页面*/
    @RequestMapping("/platformLogin")
    public String toPlatformLogin() {
        return "login.html";
    }

    /*跳转到‘运营平台’主页面operationPlatform/index.html*/
    @RequestMapping("/operatorIndex")
    public String toOperatorIndex() {
        return "index.html";
    }

    /*跳转到‘运营平台’控制台页面：operationPlatform/main/console.html*/
    @RequestMapping("/platformConsole")
    public String toPlatformConsole() { return "console/console.html"; }

    /*暂时在这里跳转以做测试，实际应该访问数据库，获取数据返回然后跳转*/
    @RequestMapping("/unitList")
    public String toUnitList() { return "unit/unitList.html"; }

    @RequestMapping("/unitRegiste")
    public String toUnitRegiste() { return "unit/unitRegiste.html"; }
}
